package com.night.administration.mapper;

import com.night.common.entity.administration.Teacher;

import java.util.List;

/**
 * @ClassName: TeacherMapper
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/10/19-9:48
 * @version: v1.0
 */
public interface TeacherMapper {
    //增加教师
    void insert(Teacher teacher);

    //通过考场id查询监考教师
    Teacher getTeacher(int teachersId);

    //查询所有老师
    List<Teacher> getAll();

    //增加教师
    void update(Teacher teacher);

    //通过id查询老师名字
    String getTeacherNameByTeacherId(int teacherId);
}
